﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;

namespace Global.Core.ExtensionMethod
{
    public static class ReflectionExtensionMethod
    {
        public static void SetProperty<T>(this T type, string propertyName, object value)
        {
            type.GetType().GetProperty(propertyName).SetValue(type, value, null);
        }

    }
}
